<!--审核知识库类型 start-->
    <div id="reviewKnowledgeType" class="modal fade modal-blur" tabindex="-1" role="dialog" style="display:none;">
          <div class="modal-dialog" >
                <div class="modal-content panel-info" style="width:800px;">
                   <div class="modal-header panel-heading panel-dark">
                      <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                      <h4 class="modal-title"><i class="fa fa-gavel"></i>知识库类型授权</h4>
                  </div>
                  <div class="modal-body">
                      <!--授权 start -->
                              <div class="row form-group">
                                    <label for="actionType1" class="col-md-2 control-label">权限类型:</label>
                                    <div class="col-md-8">
                                      <select  id="actionType1" class="form-control"  
                                         ng-model="actionType"  data-placeholder="权限类型">
                                                <option ng-repeat="r in actionTypes" value="{{r.id}}" ng-selected="{{r.id == 1}}" >{{r.name}}</option>
                                        </select>  
                                    </div>
                              </div>
                               <div class="row form-group" style="padding-left:25px;">
                                    <div class="col-md-5" style="width:350px;margin-right:20px;">
                                       <div id="jsTreeType">
                                          <div class="row" cg-busy="vm.promise">
                                              <toaster-container></toaster-container>
                                              <div class="panel panel-info">
                                                 <div class="panel-heading">
                                                     <i class="glyphicon glyphicon-tree-conifer"></i>知识库分类
                                                 </div> 
                                                 <div class="panel-body">
                                                      <div js-tree="vm.treeConfig"  ng-model="vm.treeData.typeData" should-apply="vm.applyModelChanges()" tree-events="select_node:vm.nodeSelected;ready:vm.readyCB;create_node:vm.createCB;">
                                                      </div>
                                                 </div>
                                             </div>
                                          </div>
                                      </div>
                                   </div> 
                                   <div class="col-md-5">
                                      <div id="jsTreeGroup"> 
                                          <div class="row" cg-busy="vm.promise">
                                              <toaster-container></toaster-container>
                                          <div> 
                                          <div class="panel panel-info">
                                             <div class="panel-heading">
                                                 <i class="glyphicon glyphicon-tree-conifer"></i>工作组
                                             </div> 
                                             <div class="panel-body">
                                                  <div js-tree="vm.treeConfig"  ng-model="vm.treeData.groupData" should-apply="vm.applyModelChanges()" tree-events="select_node:vm.nodeSelected;ready:vm.readyCB;create_node:vm.createCB">
                                                  </div>
                                             </div>
                                         </div>
                                        </div>
                                       </div>
                                   </div> 
                                 </div>
                              </div> <!--row -->
                              <div class="row form-group" style="padding-left:25px;"> 
                                <div  class="col-md-15"> 
                                    <div class="select_side" > 
                                        <div class="panel panel-info">
                                             <div class="panel-heading">
                                                 <i class="glyphicon glyphicon-tree-conifer"></i>待选区
                                             </div> 
                                             <div class="panel-body"> 
                                               <select id="selectL" name="selectL"  multiple="multiple"  
                                                        ng-model="selectModelL"  ng-options=" (o.order+'--'+o.name) for o in peopleL | index"  
                                                        ng-change="selChange(selectModelL)">
                                                     <option value=""></option>     
                                               </select>
                                                <div class="sub_btn"><input type="button" class="btn btn-info" id="sub1" value="保存" ng-click="save()"/></div>  
                                              </div>
                                          </div>
                                   </div> 

                                  <div class="select_opt"> 
                                       <p id="toright" title="添加" ng-click="findSelectR()">></p> 
                                       <p id="toleft" title="移除" ng-click="findSelectL()"><</p> 
                                  </div> 

                                 <div class="select_side"> 
                                       <div class="panel panel-info">
                                             <div class="panel-heading">
                                                 <i class="glyphicon glyphicon-tree-conifer"></i>已选区
                                             </div> 
                                             <div class="panel-body"> 
                                                 <select id="selectR" name="selectR" multiple="multiple" 
                                                         ng-model="selectModelR" ng-options=" (o.order+'--'+o.name)  for o in peopleR | index"  
                                                          ng-change="selChange(selectModelR)"> 
                                                 </select> 
                                                 <div class="sub_btn"><input type="button" class="btn btn-info"  id="sub2" value="赋予全体用户权限" ng-click="saveAll()"/></div>    
                                            </div> 
                                    </div>
                                 </div>
                              </div>
                            </div><!--row -->
                        </div> 
                     <!--授权 end -->
                 </div>
              </div>
         </div>
 <!--审核知识库类型 end--> 